home *** CD-ROM | disk | FTP | other *** search
- Path: andrew.cmu.edu!bo24+
- From: Berend Ozceri <bo24+@andrew.cmu.edu>
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: FindTask() VERY IMPORTANT
- Date: Thu, 7 Mar 1996 18:33:53 -0500
- Organization: Masters student, Electrical and Computer Engineering, Carnegie Mellon, Pittsburgh, PA
- Message-ID: <UlDr9Vu00WBN07vIAh@andrew.cmu.edu>
- References: <4hfvff$sj6@werple.net.au> <192.6637T931T2098@academy.bastad.se>?20@
- <4hm7qm$otm@news.uni-paderborn.de><4hmpfb$5pi@news.xs4all.nl> <MlDlTdS00iWS45Xc5x@andrew.cmu.edu>
- <1219.6640T1186T779@cs.ruu.nl>
- NNTP-Posting-Host: po9.andrew.cmu.edu
- In-Reply-To: <1219.6640T1186T779@cs.ruu.nl>
-
- Excerpts from netnews.comp.sys.amiga.programmer: 7-Mar-96 Re: FindTask()
- VERY IMPORTANT by Wessel Dankers@cs.ruu.nl
- > Berend Ozceri <bo24+@andrew.cmu.edu> wrote:
- > > Any changes in the Exec micro-kernel, especially in the scheduler,
- > > especially leaning towards multiprocessor support would make that field
- > > obsolete.
- >
- > exec/execbase.h:
- > struct Task *ThisTask; /* pointer to current task (readable) */
- >
- > Since it is documented as readable, my guess is that it will remain readable,
- > AT will probably kludge it if they change the scheduler. On multiprocessor-
- > computers, they could try to fix it using the MMU.
-
- Could you please explain to me why using the provided exec.library
- function is such a hassle that you would rather peek around system
- structures yourself? Does it make your code look cooler or something?
-
- I am not by any means proposing that Amiga Technologies should make this
- field obsolete in order to intentionally break programs, but I see no
- reason why anyone would rather peek the structure directly than using
- FindTask(NULL).
-
- Berend Ozceri
- Carnegie Mellon University
-
-